package cn.bdqn.service.impl;

import cn.bdqn.mapper.VideoMapper;
import cn.bdqn.pojo.Video;
import cn.bdqn.service.VideoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class VideoServiceImpl implements VideoService {

    @Resource
    VideoMapper videoMapper;
    @Override
    public List<Video> selectAll(String category, Long languageId) {
        List<Video> lists = videoMapper.selectAll(category, languageId);
        return lists;
    }
}
